import Vue from 'vue'
import Router from './router/index.js'
import fastClick from 'fastclick'
import VueLoading from 'vue-loading-template'
import vSelect from 'vue-select'
import VueAlert from '@vuejs-pt/vue-alert'
import App from './App.vue'
import axios from 'axios'
import qs from 'qs'

import './common/global'


import 'layui-src/dist/css/layui.css'
import './assets/styles/reset.css' 

Vue.config.productionTip = false
fastClick.attach(document.body) 
Vue.prototype.bus = new Vue()
Vue.prototype.$axios= axios
Vue.prototype.$qsstr=qs.stringify
Vue.use(VueLoading)
Vue.use(VueAlert)

// Vue.use(VueAwesomeSwiper, /* { default global options } */)
Vue.component('v-select', vSelect)
new Vue({
  el:'#app',
  router:Router, 
  render: h => h(App), 
  // components:{App:App},
  // template:'<app/>'
})












